import { createRouter, createWebHistory } from 'vue-router'
import IndexView from '@/views/index.vue'
import Dz from '@/views/dz.vue'
import Bt from '@/views/bt.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/', redirect: '/index' },
    {
      path: '/index',
      name: 'index',
      component: IndexView,
    },
    {
      path: '/dz',
      name: 'dz',
      component: Dz,
    },
    {
      path: '/bt',
      name: 'bt',
      component: Bt,
    },
  ],
})

export default router
